﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace VIEW
{
    public partial class ActorVIEW : Form
    {
       string userName;
        public ActorVIEW(string userName)
        {
            this.userName = userName;
            InitializeComponent();
        }

        private void 注销ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void 修改密码ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CodeModifyVIEW CodeModifyView = new CodeModifyVIEW(userName);
            CodeModifyView.ShowDialog();
        }

        private void 课程表管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ManagerModifyCourseVIEW ManagerModifyCourseView = new ManagerModifyCourseVIEW();
            ManagerModifyCourseView.ShowDialog();
        }

        private void 帮助文档ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HelpVIEW HelpView = new HelpVIEW();
            HelpView.ShowDialog();
        }

        private void 关于ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            AboutVIEW AboutView = new AboutVIEW();
            AboutView.ShowDialog();
        }

        private void 选课管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ManagerSendNoticeVIEW ManagerSendNoticeView = new ManagerSendNoticeVIEW();
            ManagerSendNoticeView.ShowDialog();
        }
    }
}